package com.accp.demo.pojo.stock;

import java.io.Serializable;
import java.util.Date;

import com.accp.demo.pojo.base.Material;
import com.accp.demo.pojo.base.WareHouse;


/**
 * 出入库明细表
 * @author Administrator
 *
 */
public class StockReportoryDetail implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2707409058749706366L;
	private Integer infosId;		//单据编号,自增
	private Material materiel;		//物料编号
	private	Double materialPrice;	//单价
	private Double amount;			//总金额
	private WareHouse wareHouse;	//仓库
	private Integer orderForm;		//来源单别
	private String orderNoForm;		//来源单号
	private Integer getAmount;		//本期收入数
	private Integer sendAmount;		//本期发出数
	private Integer	endAmount;		//期末结存数
	private Date createTime;		//创表时间
	private Integer logicStatus;	//逻辑状态
	
	public Integer getInfosId() {
		return infosId;
	}
	public void setInfosId(Integer infosId) {
		this.infosId = infosId;
	}
	public Material getMateriel() {
		return materiel;
	}
	public void setMateriel(Material materiel) {
		this.materiel = materiel;
	}
	public Double getMaterialPrice() {
		return materialPrice;
	}
	public void setMaterialPrice(Double materialPrice) {
		this.materialPrice = materialPrice;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public WareHouse getWareHouse() {
		return wareHouse;
	}
	public void setWareHouse(WareHouse wareHouse) {
		this.wareHouse = wareHouse;
	}
	public Integer getOrderForm() {
		return orderForm;
	}
	public void setOrderForm(Integer orderForm) {
		this.orderForm = orderForm;
	}
	public String getOrderNoForm() {
		return orderNoForm;
	}
	public void setOrderNoForm(String orderNoForm) {
		this.orderNoForm = orderNoForm;
	}
	public Integer getGetAmount() {
		return getAmount;
	}
	public void setGetAmount(Integer getAmount) {
		this.getAmount = getAmount;
	}
	public Integer getSendAmount() {
		return sendAmount;
	}
	public void setSendAmount(Integer sendAmount) {
		this.sendAmount = sendAmount;
	}
	public Integer getEndAmount() {
		return endAmount;
	}
	public void setEndAmount(Integer endAmount) {
		this.endAmount = endAmount;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getLogicStatus() {
		return logicStatus;
	}
	public void setLogicStatus(Integer logicStatus) {
		this.logicStatus = logicStatus;
	}
	public StockReportoryDetail(Integer infosId, Material materiel, Double materialPrice, Double amount,
			WareHouse wareHouse, Integer orderForm, String orderNoForm, Integer getAmount, Integer sendAmount,
			Integer endAmount, Date createTime, Integer logicStatus) {
		super();
		this.infosId = infosId;
		this.materiel = materiel;
		this.materialPrice = materialPrice;
		this.amount = amount;
		this.wareHouse = wareHouse;
		this.orderForm = orderForm;
		this.orderNoForm = orderNoForm;
		this.getAmount = getAmount;
		this.sendAmount = sendAmount;
		this.endAmount = endAmount;
		this.createTime = createTime;
		this.logicStatus = logicStatus;
	}
	public StockReportoryDetail() {
		super();
	}
	@Override
	public String toString() {
		return "StockReportoryDetail [infosId=" + infosId + ", materiel=" + materiel + ", materialPrice="
				+ materialPrice + ", amount=" + amount + ", wareHouse=" + wareHouse + ", orderForm=" + orderForm
				+ ", orderNoForm=" + orderNoForm + ", getAmount=" + getAmount + ", sendAmount=" + sendAmount
				+ ", endAmount=" + endAmount + ", createTime=" + createTime + ", logicStatus=" + logicStatus + "]";
	}
	
	
}
